//
//  OpaionalCollectionViewCell1.m
//  Project two framework
//
//  Created by rimi on 16/7/25.
//  Copyright © 2016年 张峥. All rights reserved.
//




#import "OpaionalCollectionViewCell1.h"

@implementation OpaionalCollectionViewCell1

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        _label10 = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 200, 20)];
        _label10.backgroundColor = [UIColor clearColor];
        _label10.textColor = [UIColor whiteColor];
        _label10.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:_label10];
        
        
    }
    return self;
}


-(void)setIsSelet:(NSString *)isSelet
{
    _isSelet = isSelet;
    if ([_isSelet isEqualToString:@"YES"]) {
        _label10.textColor = [UIColor redColor];
    }
    if ([_isSelet isEqualToString:@"NO"]) {
        _label10.textColor = [UIColor whiteColor];
    }
    
}




@end
